/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Business;

/**
 *
 * @author anhvtn_b00545
 */
public class Purchase_BS {

    private int pcID;
    private int sID;
    private int pID;
    private float paid;
    private float unpaid;
    private String pcDate;
    private float pcPrice;
    private int pcQuantity;
    private float total;

    private String sFullName;
    private String pName;

    public Purchase_BS(){
        
        this.sID=0;
        this.pID=0;
        this.paid=0;
        this.pcDate= null;
        this.pcPrice=0;
        this.pcQuantity=0;
        this.unpaid=0;
        this.sFullName= null;
        this.pName= null;
    }
    public Purchase_BS(int sID, float paid, float unpaid,String pcDate)
    {
        this.sID= sID;
        this.paid = paid;
        this.unpaid= unpaid;
        this.pcDate= pcDate;
    }
   
    public Purchase_BS(int pcID,int pID, float pcPrice, int pcQuantity, String pcDate)
    {
        this.pcID= pcID;
        this.pID= pID;
        this.pcPrice= pcPrice;
        this.pcQuantity= pcQuantity;
        this.pcDate= pcDate;
    }
     public Purchase_BS(int pcID, String sName, String pcDate)
    {
        this.pcID= pcID;
        this.sFullName= sName;
        this.pcDate= pcDate;
    }

    public Purchase_BS(int pcID,int sID,int pID, int pcQuantity,float pcPrice,float paid, float unpaid,String pcDate)
    {
        this.pcID= pcID;
        this.sID= sID;
        this.pcDate= pcDate;
        this.pID= pID;
        this.pcPrice= pcPrice;
        this.pcQuantity= pcQuantity;
        this.paid= paid;
        this.unpaid= unpaid;
    }

    public Purchase_BS(int pcID, String sFullName, float paid, float unpaid, String date) {
        this.pcID= pcID;
        this.sFullName= sFullName;
        this.paid= paid;
        this.unpaid= unpaid;
        this.pcDate= date;
    }

    
    public int getSID() {return sID;}
    public void setSID(int sID) {this.sID= sID;}

    public int getPCID(){return pcID;}
    public void setPCID(int pcID) {this.pcID= pcID;}
    
    public int getPID() {return pID;}
    public void setPID(int pID) { this.pID= pID;}
    
    public String getPcDate() {return pcDate;}
    public void setPcDate(String pcDate) {this.pcDate= pcDate;}

    public float getPcPrice() {return pcPrice;}
    public void setPcPrice(float pcPrice) {this.pcPrice= pcPrice;}

    public int getPcQuantity() {return pcQuantity;}
    public void setPcQuantity(int pcQuantity) {this.pcQuantity= pcQuantity;}
    
    public float getPaid() {return paid;}
    public void setPaid(float paid) {this.paid = paid;}
    
    public float getUnpaid() {return unpaid;}
    public void setUnpaid(float unpaid) {this.unpaid= unpaid;}

    public String getSName(){return sFullName;}
    public void setSName(String sName) {this.sFullName= sName;}

    public String getPName() {return pName;}
    public void setPName(String pName) {this.pName= pName;}


    public float getTotal(){
        return total;
    }
    public void setTotal(float total)
    {
       this.total= total;
    }


}
